home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / OTHER_LA / H499.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-07-05  |  10KB  |  214 lines

  1. echo off
  2. cls
  3. if exist getnum.exe goto BeginInstall
  4. echo Please be sure the INSTALLATION disk is in the
  5. echo drive, and you are logged to that drive.  For
  6. echo instance, if the disk is in Drive A, type "A:"
  7. echo to log to that drive, then type INSTDOS.
  8. goto TheEnd
  9. :BeginInstall
  10. echo The JORF Interpreter and Tutorial        Version 2.1    March 20, 1993
  11. echo .
  12. echo This batch file will install JORF on your hard disk in a directory
  13. echo called C:\JORF.  If you wish to install on a different directory,
  14. echo print the JORF.ME file for instructions on installing by hand.
  15. echo .
  16. echo           ╔════════════ Installation Options ══════════════╗
  17. echo           ║                                                ║
  18. echo           ║ 1. Install PC Version            Takes 1.3 MB  ║
  19. echo           ║                                                ║
  20. echo           ║ 2. Install DOS-386 Version       Takes 1.7 MB  ║
  21. echo           ║                                                ║
  22. echo           ║ 3. Install Windows Version       Takes 1.7 MB  ║
  23. echo           ║                                                ║
  24. echo           ║ 4. Install All versions          Takes 2.5 MB  ║
  25. echo           ║                                                ║
  26. echo           ╚════════════════════════════════════════════════╝
  27. echo .
  28. getnum Please press a number, or zero to exit
  29. if errorlevel 4 goto InstALL
  30. if errorlevel 3 goto InstWIN
  31. if errorlevel 2 goto Inst386
  32. if errorlevel 1 goto InstJORF
  33. goto exit
  34.  
  35. :InstJORF
  36. cls
  37. echo Installing PC Version
  38. echo Creating \JORF Directory
  39. mkdir c:\jorf
  40.  
  41. echo Copying JORF.ME file. You can Read this for program notes.
  42. copy jorf.me  c:\jorf
  43. echo Copying JORF program.  Type JORF to run JORF Interpreter.
  44. copy jorf.exe  c:\jorf
  45. copy jorf.ini  c:\jorf
  46.  
  47. :GetJORFDisk2
  48. if exist jorffils.zip goto JORFDisk2
  49. echo Please insert Disk 2 into the floppy disk drive
  50. pause
  51. Goto GetJORFDisk2
  52.  
  53. :JORFDisk2
  54. echo Unzipping sample programs.  Run JORF TUTORIAL for a look-see tour.
  55. pkunzip jorffils.zip    c:\jorf
  56. pkunzip jorfhelp.zip    c:\jorf
  57.  
  58. if exist jorfdocs.zip echo Unzipping Manual.  Type PRINT JORFMAN.TXT to print on your printer.
  59. if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
  60.  
  61. cls
  62. echo      ╔════════════════════ Installation Complete ════════════════════╗
  63. echo      ║                                                               ║
  64. echo      ║ The JORF Interpreter and Tutorial are now in installed on     ║
  65. echo      ║ your hard disk. To start JORF PC, CD C:\JORF and type JORF.   ║
  66. echo      ║                                                               ║
  67. echo      ║ The JORF Manual has also been installed.  Just print this     ║
  68. echo      ║ on any dot matrix or laser printer.  The manual is about      ║
  69. echo      ║ 380 pages long.  It is called JORFMAN.TXT                     ║
  70. echo      ║                                                               ║
  71. echo      ║ For a tour, go to the directory now and run the tutorial      ║
  72. echo      ║                                                               ║
  73. echo      ║       A>  C:                       Change to C drive          ║
  74. echo      ║       C>  CD \JORF                 Change to JORF directory   ║
  75. echo      ║       C>  JORF TUTORIAL            Run JORF with TUTORIAL     ║
  76. echo      ║                                                               ║
  77. echo      ╚═══════════════════════════════════════════════════════════════╝
  78. Goto Exit
  79.  
  80. :Inst386
  81. cls
  82. echo Installing JORF-386 Version
  83. echo Creating \JORF Directory
  84. mkdir c:\jorf
  85.  
  86. echo Copying JORF.ME file. You can Read this for program notes.
  87. copy jorf.me  c:\jorf
  88.  
  89. echo Unzipping JORF program.  Type JORF386 to run JORF 386 Interpreter.
  90. pkunzip jorf386.zip c:\jorf
  91.  
  92. echo Unzipping sample files.  Run JORF386 TUTORIAL for a look-see tour.
  93. pkunzip jorffils.zip c:\jorf
  94. pkunzip jorfhelp.zip c:\jorf
  95.  
  96. if exist jorfdocs.zip echo Unzipping Manual.  Type PRINT JORFMAN.TXT to print on your printer.
  97. if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
  98.  
  99. cls
  100. echo      ╔════════════════════ Installation Complete ════════════════════╗
  101. echo      ║                                                               ║
  102. echo      ║ The JORF386 Interpreter and Tutorial are now in installed on  ║
  103. echo      ║ your hard disk.  To start JORF, CD C:\JORF and type JORF386.  ║
  104. echo      ║                                                               ║
  105. echo      ║ The JORF Manual has also been installed.  Just print this     ║
  106. echo      ║ on any dot matrix or laser printer.  The manual is about      ║
  107. echo      ║ 380 pages long.  It is called JORFMAN.TXT                     ║
  108. echo      ║                                                               ║
  109. echo      ║ For a tour, go to the directory now and run the tutorial      ║
  110. echo      ║                                                               ║
  111. echo      ║       A>  C:                       Change to C drive          ║
  112. echo      ║       C>  CD \JORF                 Change to JORF directory   ║
  113. echo      ║       C>  JORF386 TUTORIAL         Run JORF836 with TUTORIAL  ║
  114. echo      ║                                                               ║
  115. echo      ╚═══════════════════════════════════════════════════════════════╝
  116. Goto Exit
  117.  
  118.  
  119. :InstWIN
  120. cls
  121. echo Installing WIN Version
  122. echo Creating \JORF Directory
  123. mkdir c:\jorf
  124.  
  125. echo Copying JORF.ME file. You can Read this for program notes.
  126. copy jorf.me  c:\jorf
  127.  
  128. echo Unzipping JORFWIN program.  Add to program manager to run.
  129. pkunzip jorfwin.zip c:\jorf
  130.  
  131. echo Unzipping sample files.  Run TUTORIAL.J for a look-see tour.
  132. pkunzip jorffils.zip c:\jorf
  133. pkunzip jorfhelp.zip c:\jorf
  134.  
  135. if exist jorfdocs.zip echo Unzipping Manual.  Type PRINT JORFMAN.TXT to print on your printer.
  136. if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
  137.  
  138. cls
  139. echo      ╔════════════════════ Installation Complete ════════════════════╗
  140. echo      ║ The JORF Interpreter and Tutorial are now in installed on     ║
  141. echo      ║ your hard disk.  To complete the installation, you must add   ║
  142. echo      ║ the icons to the program manager.  You might want to do a     ║
  143. echo      ║ printscreen now to record the following instructions:         ║
  144. echo      ║                                                               ║
  145. echo      ║ Go to the program manager and select File, New. Enter:        ║
  146. echo      ║                                                               ║
  147. echo      ║     Description        JORF                                   ║
  148. echo      ║     Command Line       C:\JORF\JORFWIN.EXE                    ║
  149. echo      ║                                                               ║
  150. echo      ║ Press ENTER to save the program, then click on the blue goat  ║
  151. echo      ║ to run JORF.  Once you start JORF, select Help,Tutorial to    ║
  152. echo      ║ run the JORF Tutorial.                                        ║
  153. echo      ║                                                               ║
  154. echo      ║ The JORF Manual has also been installed.  Just print          ║
  155. echo      ║ JORFMAN.TXT on any dot matrix or laser printer.  The manual   ║
  156. echo      ║ is about 380 pages long.  It is called JORFMAN.TXT.           ║
  157. echo      ╚═══════════════════════════════════════════════════════════════╝
  158. Goto Exit
  159.  
  160.  
  161. :InstALL
  162. cls
  163. echo Installing Everything!
  164. echo Creating \JORF Directory
  165. mkdir c:\jorf
  166.  
  167. echo Copying JORF.ME file.       You can Read this for program notes.
  168. copy jorf.me  c:\jorf
  169.  
  170. echo Copying JORF program.       Type JORF to run JORF PC Interpreter.
  171. copy jorf.exe  c:\jorf
  172. copy jorf.ini  c:\jorf
  173.  
  174. echo Unzipping JORF386 program.  Type JORF386 to run JORF 386 Interpreter.
  175. pkunzip jorf386.zip c:\jorf
  176.  
  177. echo Unzipping JORFWIN program.  Add to program manager to run.
  178. pkunzip jorfwin.zip c:\jorf
  179.  
  180. echo Unzipping sample files.     Run TUTORIAL.J for a look-see tour.
  181. pkunzip jorffils.zip c:\jorf
  182. pkunzip jorfhelp.zip c:\jorf
  183.  
  184. if exist jorfdocs.zip echo Unzipping Manual.           PRINT JORFMAN.TXT to print 380 pages.
  185. if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
  186.  
  187. cls
  188. echo      ╔════════════════════ Installation Complete ════════════════════╗
  189. echo      ║ The JORF Interpreter and Tutorial are now in installed on     ║
  190. echo      ║ your hard disk.  To run the JORF and JORF386 versions, just   ║
  191. echo      ║ change to C:\JORF directory and type JORF or JORF386.         ║
  192. echo      ║                                                               ║
  193. echo      ║ To complete the windows installation, you must add the icon   ║
  194. echo      ║ to the program manager.  You might want to do a printscreen   ║
  195. echo      ║ now to record the following instructions:                     ║
  196. echo      ║                                                               ║
  197. echo      ║ Go to the program manager and select File, New. Enter:        ║
  198. echo      ║                                                               ║
  199. echo      ║     Description        JORF                                   ║
  200. echo      ║     Command Line       C:\JORF\JORFWIN.EXE                    ║
  201. echo      ║                                                               ║
  202. echo      ║ Press ENTER to save the program, then click on the blue goat  ║
  203. echo      ║ to run JORF.  Once you start JORF, select Help,Tutorial to    ║
  204. echo      ║ run the JORF Tutorial.                                        ║
  205. echo      ║                                                               ║
  206. echo      ║ The JORF Manual has also been installed.  Just print          ║
  207. echo      ║ JORFMAN.TXT on any dot matrix or laser printer.  The manual   ║
  208. echo      ║ is about 380 pages long.  It is called JORFMAN.TXT.           ║
  209. echo      ╚═══════════════════════════════════════════════════════════════╝
  210. Goto Exit
  211.  
  212.  
  213. :Exit
  214.